/* Copyright (c) 2025 Beijing Semidrive Technology Corporation
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef DEM_H
#define DEM_H


#include "Std_Types.h"
#include "debug.h"

#ifdef __cplusplus
extern "C" {
#endif
/* Version and Check Begin */
/* Version Info Begin */
#define DET_H_VENDOR_ID    0x8C
#define DET_H_AR_RELEASE_MAJOR_VERSION    4
#define DET_H_AR_RELEASE_MINOR_VERSION    3
#define DET_H_AR_RELEASE_REVISION_VERSION 1
#define DET_H_SW_MAJOR_VERSION    1
#define DET_H_SW_MINOR_VERSION    0
#define DET_H_SW_PATCH_VERSION    0
/* Version Info End */
/* Version and Check End */


typedef uint16 Dem_EventIdType;
typedef uint8  Dem_EventStatusType;


#define DEM_MODULE_ID 54U
/**
 * @brief   Service to start the Default Error Tracer.
 */
FUNC(void, DEM_CODE) Dem_SetEventStatus(Dem_EventIdType EventId,Dem_EventStatusType EventStatus);


#ifdef __cplusplus
}
#endif

#endif /* #ifndef DET_H */
